< previous page page_465 next page >

Page 465
Notice the use of double-underlining in Figure 17.4. Double-underlined words and phrases appear as green, single-underlined hypertext in your help system. When users click the hypertext, WinHelp automatically jumps to the page referenced by hypertext the jump tag, the hidden text immediately following the jump phrase. Your help system will actually contain three topic pages, one pop-up page, and one secondary topic; it will also have two separate topic files. The second file will be used to show how you can add multiple files to the help system by using two different techniques.
As the first page of your topic file, enter the following lines of text to list the three topics to be covered in this hypertext example:
The Windows Common Dialog In Use

What the Common Dialog is All About

The Many Faces of the Common Dialog
Next, insert a page break and then add the text in Listing 17.1 to the second page of your topic hypertext file.
LISTING 17.1. TOPIC1.TXTTOPIC ONE OF THE EXAMPLE HELP TOPIC FILE.

8694cbadb9b1ef7075903f6f95fc1db2.gif
The Windows dialog box allows the application to interact with 
user with the same forms that Windows 95 uses. This chapter will review the 
different options available in the Common Dialog control and how to use 
it. Now, you may be asking yourself, Why do I need to review this again? 
Well, if you want to create an application that closely resembles the 
Windows 95 standard, you want to understand and use as many of the common 
features that are available in Visual Basic as possible. In addition to 
the review, you will also get an understanding of why to use the Common 
Dialog control and more importantly, when to use it. Finally, you will be 
shown another way of accessing the Common Dialog through the use of the 
Dialog Automation object which comes with the Visual Basic product CD. 
This object can be included in your application instead of the Common 
Dialog control.

Now, after you add this text, insert another page break to separate this text for the first topic page with the next topic. You must insert a page break between each unique topic page in the file.
Listings 17.2, 17.3, and 17.4 show the text for each of the next three topics. Add the first three text files to the open topic file. Then start a new topic file and add the remaining text files to this second topic document, as described earlier.

 
< previous page page_465 next page >

If you like this book, buy it!